# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(Parteneri)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(Parteneri_SRCS parteneriplugin.cpp parteneri.cpp cereparteneri.cpp)
QT4_WRAP_CPP(Parteneri_SRCS parteneriplugin.h parteneri.h cereparteneri.h)
QT4_WRAP_UI(Parteneri_SRCS parteneri.ui cereparteneri.ui)
QT4_ADD_RESOURCES(Parteneri_SRCS parteneri.qrc)

add_library(Parteneri SHARED ${Parteneri_SRCS})
add_dependencies(Parteneri KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(Parteneri KontAMabil ${QT_LIBRARIES})

install(TARGETS Parteneri ${INSTALL_PLUGINS_DEFAULT_ARGS})
